package com.jsh.erp.exception;

public class BusinessParamCheckingException extends Exception {

	private static final long serialVersionUID = 1L;
	private int code;
	private String reason;

	public BusinessParamCheckingException(int code, String reason) {
		super(reason);
		this.code = code;
		this.reason = reason;
	}

	public BusinessParamCheckingException(int code, String reason, Throwable throwable) {
		super(reason, throwable);
		this.code = code;
		this.reason = reason;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}
